package com.engine4cloud.tdf.supervision.mapper;

import com.engine4cloud.tdf.common.data.datascope.TdfBaseMapper;
import com.engine4cloud.tdf.supervision.dto.result.DcpgAuditResultDTO;
import com.engine4cloud.tdf.supervision.entity.DcpgAuditResultEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DcpgAuditResultMapper extends TdfBaseMapper<DcpgAuditResultEntity> {

    DcpgAuditResultDTO findLatest(@Param("code") String code, @Param("status") String status);

}